﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EmitMapper.Conversion;

namespace Tools.Framework
{
    public class Dictionary<TKey, TValue> : System.Collections.Generic.Dictionary<TKey, TValue>
    {
        public new virtual string this[TKey key]
        {
            get
            {
                if (base.ContainsKey(key))
                {
                    return base[key].ToString();
                }
                else
                {
                    return "";
                }
            }
            set
            {
                value=base[key].ToString();
            }
        }
    }
}
